'use strict';

module.exports = app => {
    const {
        STRING,
        INTEGER
    } = app.Sequelize;
    const project_list = app.model.define('project_list',{
        id:{
            type:INTEGER,
            primaryKey:true,
            autoIncrement:true,
            allowNull:false,
            comment:"项目列表ID"
        },
        project:{
            type:STRING,
            defaultValue:null,
            comment:"项目名称"
        },
        project_address:{
            type:STRING,
            defaultValue:null,
            comment:"项目地址"
        },
        project_explain:{
            type:STRING,
            defaultValue:null,
            comment:"项目简介"
        },
        project_state:{
            type:STRING,
            defaultValue:null,
            comment:"项目状态"
        },
        project_pic:{
            type:STRING,
            defaultValue:null,
            comment:"项目负责人"
        }
    })
    project_list.associate = function () {
        
    }
}